home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 9718 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  1.2 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news text default
99% file C source, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 6e 65 | 77 73 2e 63 61 6d 74 65 |Path: ne|ws.camte|
|00000010| 63 68 2e 63 6f 6d 2e 61 | 75 21 75 73 65 6e 65 74 |ch.com.a|u!usenet|
|00000020| 0a 46 72 6f 6d 3a 20 22 | 42 72 69 61 6e 20 4c 2e |.From: "|Brian L.|
|00000030| 20 4d 6f 64 72 61 22 20 | 3c 62 6d 6f 64 72 61 40 | Modra" |<bmodra@|
|00000040| 61 6d 72 61 64 2e 63 6f | 6d 2e 61 75 3e 0a 4e 65 |amrad.co|m.au>.Ne|
|00000050| 77 73 67 72 6f 75 70 73 | 3a 20 63 6f 6d 70 2e 6c |wsgroups|: comp.l|
|00000060| 61 6e 67 2e 63 2b 2b 2c | 63 6f 6d 70 2e 77 69 6e |ang.c++,|comp.win|
|00000070| 64 6f 77 73 2e 6f 70 65 | 6e 2d 6c 6f 6f 6b 0a 53 |dows.ope|n-look.S|
|00000080| 75 62 6a 65 63 74 3a 20 | 52 65 3a 20 58 56 69 65 |ubject: |Re: XVie|
|00000090| 77 20 43 20 70 72 6f 63 | 65 64 75 72 65 73 20 69 |w C proc|edures i|
|000000a0| 6e 20 43 2b 2b 20 66 6f | 72 20 53 75 6e 20 58 20 |n C++ fo|r Sun X |
|000000b0| 57 69 6e 64 6f 77 73 0a | 44 61 74 65 3a 20 4d 6f |Windows.|Date: Mo|
|000000c0| 6e 2c 20 30 34 20 4d 61 | 72 20 31 39 39 36 20 31 |n, 04 Ma|r 1996 1|
|000000d0| 39 3a 34 39 3a 34 39 20 | 2b 31 30 33 30 0a 4f 72 |9:49:49 |+1030.Or|
|000000e0| 67 61 6e 69 7a 61 74 69 | 6f 6e 3a 20 41 4d 52 41 |ganizati|on: AMRA|
|000000f0| 44 20 50 74 79 20 4c 74 | 64 0a 4d 65 73 73 61 67 |D Pty Lt|d.Messag|
|00000100| 65 2d 49 44 3a 20 3c 33 | 31 33 41 42 35 42 35 2e |e-ID: <3|13AB5B5.|
|00000110| 37 37 36 44 33 34 36 42 | 40 61 6d 72 61 64 2e 63 |776D346B|@amrad.c|
|00000120| 6f 6d 2e 61 75 3e 0a 52 | 65 66 65 72 65 6e 63 65 |om.au>.R|eference|
|00000130| 73 3a 20 3c 44 6e 4a 70 | 74 78 2e 48 76 33 40 6e |s: <DnJp|tx.Hv3@n|
|00000140| 65 77 73 2e 75 77 69 6e | 64 73 6f 72 2e 63 61 3e |ews.uwin|dsor.ca>|
|00000150| 0a 4e 4e 54 50 2d 50 6f | 73 74 69 6e 67 2d 48 6f |.NNTP-Po|sting-Ho|
|00000160| 73 74 3a 20 67 6f 6c 64 | 2e 61 6d 72 61 64 2e 63 |st: gold|.amrad.c|
|00000170| 6f 6d 2e 61 75 0a 4d 69 | 6d 65 2d 56 65 72 73 69 |om.au.Mi|me-Versi|
|00000180| 6f 6e 3a 20 31 2e 30 0a | 43 6f 6e 74 65 6e 74 2d |on: 1.0.|Content-|
|00000190| 54 79 70 65 3a 20 74 65 | 78 74 2f 70 6c 61 69 6e |Type: te|xt/plain|
|000001a0| 3b 20 63 68 61 72 73 65 | 74 3d 75 73 2d 61 73 63 |; charse|t=us-asc|
|000001b0| 69 69 0a 43 6f 6e 74 65 | 6e 74 2d 54 72 61 6e 73 |ii.Conte|nt-Trans|
|000001c0| 66 65 72 2d 45 6e 63 6f | 64 69 6e 67 3a 20 37 62 |fer-Enco|ding: 7b|
|000001d0| 69 74 0a 58 2d 4d 61 69 | 6c 65 72 3a 20 4d 6f 7a |it.X-Mai|ler: Moz|
|000001e0| 69 6c 6c 61 20 32 2e 30 | 20 28 58 31 31 3b 20 49 |illa 2.0| (X11; I|
|000001f0| 3b 20 4c 69 6e 75 78 20 | 31 2e 33 2e 35 39 20 69 |; Linux |1.3.59 i|
|00000200| 34 38 36 29 0a 54 6f 3a | 20 73 61 65 64 40 65 6e |486).To:| saed@en|
|00000210| 67 6e 2e 75 77 69 6e 64 | 73 6f 72 2e 63 61 0a 0a |gn.uwind|sor.ca..|
|00000220| 53 61 65 64 20 41 72 79 | 61 6e 2c 31 33 33 32 35 |Saed Ary|an,13325|
|00000230| 2c 31 31 30 30 2c 67 20 | 77 72 6f 74 65 3a 0a 3e |,1100,g |wrote:.>|
|00000240| 20 41 73 20 61 20 6e 6f | 76 69 63 65 20 43 2b 2b | As a no|vice C++|
|00000250| 20 70 72 6f 67 72 61 6d | 6d 65 72 2c 20 49 20 68 | program|mer, I h|
|00000260| 61 76 65 20 66 61 63 65 | 64 20 74 68 65 20 70 72 |ave face|d the pr|
|00000270| 6f 62 6c 65 6d 20 6f 66 | 20 63 6f 6d 62 69 6e 69 |oblem of| combini|
|00000280| 67 20 43 20 0a 3e 20 63 | 6f 64 65 20 77 69 74 68 |g C .> c|ode with|
|00000290| 20 43 2b 2b 2e 20 52 65 | 67 72 65 74 66 75 6c 6c | C++. Re|gretfull|
|000002a0| 79 20 74 68 65 20 46 41 | 51 20 20 69 73 20 6e 6f |y the FA|Q is no|
|000002b0| 74 20 20 64 65 74 61 69 | 6c 65 64 20 65 6e 6f 75 |t detai|led enou|
|000002c0| 67 68 20 69 6e 20 74 68 | 69 73 20 0a 3e 20 61 72 |gh in th|is .> ar|
|000002d0| 65 61 2c 20 73 6f 20 49 | 20 6d 75 73 74 20 70 6f |ea, so I| must po|
|000002e0| 73 74 20 74 68 69 73 20 | 71 75 65 73 74 69 6f 6e |st this |question|
|000002f0| 3a 0a 3e 20 0a 3e 20 2d | 2d 2d 48 6f 77 20 77 6f |:.> .> -|--How wo|
|00000300| 75 6c 64 20 79 6f 75 20 | 73 75 67 67 65 73 74 20 |uld you |suggest |
|00000310| 49 20 69 6e 63 6f 72 70 | 6f 72 61 74 65 20 58 56 |I incorp|orate XV|
|00000320| 69 65 77 20 43 20 70 72 | 6f 63 65 64 75 72 65 73 |iew C pr|ocedures|
|00000330| 20 61 6e 64 20 0a 3e 20 | 6c 69 62 72 61 72 69 65 | and .> |librarie|
|00000340| 73 20 69 6e 20 6d 79 20 | 43 2b 2b 20 2d 2d 2d 70 |s in my |C++ ---p|
|00000350| 72 6f 67 72 61 6d 3f 0a | 0a 4a 75 73 74 20 70 75 |rogram?.|.Just pu|
|00000360| 74 0a 0a 65 78 74 65 72 | 6e 20 22 43 22 20 7b 0a |t..exter|n "C" {.|
|00000370| 0a 62 65 66 6f 72 65 20 | 74 68 65 20 69 6e 63 6c |.before |the incl|
|00000380| 75 64 65 73 20 6f 66 20 | 74 68 65 20 6c 69 62 72 |udes of |the libr|
|00000390| 61 72 69 65 73 2c 20 61 | 6e 64 0a 0a 7d 0a 0a 74 |aries, a|nd..}..t|
|000003a0| 6f 20 63 6c 6f 73 65 20 | 74 68 65 20 64 65 63 6c |o close |the decl|
|000003b0| 61 72 61 74 69 6f 6e 20 | 61 66 74 65 72 20 74 68 |aration |after th|
|000003c0| 65 20 6c 69 62 72 61 72 | 69 65 73 2e 20 54 68 69 |e librar|ies. Thi|
|000003d0| 73 20 74 75 72 6e 73 20 | 6f 6e 20 43 20 6e 61 6d |s turns |on C nam|
|000003e0| 69 6e 67 20 66 6f 72 0a | 74 68 65 20 66 75 6e 63 |ing for.|the func|
|000003f0| 74 69 6f 6e 73 20 70 72 | 6f 74 6f 74 79 70 65 64 |tions pr|ototyped|
|00000400| 20 69 6e 20 74 68 65 20 | 68 65 61 64 65 72 73 2e | in the |headers.|
|00000410| 20 53 6f 20 79 6f 75 20 | 73 68 6f 75 6c 64 20 62 | So you |should b|
|00000420| 65 20 61 62 6c 65 20 74 | 6f 20 6a 75 73 74 0a 63 |e able t|o just.c|
|00000430| 61 6c 6c 20 74 68 65 6d | 20 6e 6f 72 6d 61 6c 6c |all them| normall|
|00000440| 79 2e 20 49 27 6d 20 6a | 75 73 74 20 61 62 6f 75 |y. I'm j|ust abou|
|00000450| 74 20 74 6f 20 73 74 61 | 72 74 20 75 73 69 6e 67 |t to sta|rt using|
|00000460| 20 78 76 69 65 77 2c 20 | 73 6f 20 63 61 6e 27 74 | xview, |so can't|
|00000470| 20 73 70 65 61 6b 0a 66 | 72 6f 6d 20 65 78 70 65 | speak.f|rom expe|
|00000480| 72 69 65 6e 63 65 20 77 | 69 74 68 20 78 76 69 65 |rience w|ith xvie|
|00000490| 77 2c 20 62 75 74 20 74 | 68 69 73 20 69 73 20 77 |w, but t|his is w|
|000004a0| 68 61 74 20 49 27 76 65 | 20 64 6f 6e 65 20 77 69 |hat I've| done wi|
|000004b0| 74 68 20 58 2c 20 58 74 | 2c 20 61 6e 64 0a 4d 6f |th X, Xt|, and.Mo|
|000004c0| 74 69 66 2c 20 61 6e 64 | 20 69 74 20 77 6f 72 6b |tif, and| it work|
|000004d0| 73 20 66 69 6e 65 2e 0a | 0a 42 72 69 61 6e 0a |s fine..|.Brian. |
+--------+-------------------------+-------------------------+--------+--------+